package com.zhumo.sz.entity.bus;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javafx.scene.chart.ValueAxis;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.poi.ss.formula.functions.T;

import java.math.BigDecimal;
import java.sql.Timestamp;

/**
 * 长途客运线下购票明细
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "长途客运站内购票",description = "长途客运站内购票明细表")
public class LengthBusTickingDetail {

    @ApiModelProperty("id")
    private Integer id;

    @ApiModelProperty("订单id")
    private Long orderId;

    @ApiModelProperty("身份证号")
    private String cardId;

    @ApiModelProperty("购票人姓名")
    private String orderedName;

    @ApiModelProperty("服务窗口号")
    private String window;

    @ApiModelProperty("站点编码")
    private String stationCode; //站点

    @ApiModelProperty("班次id")
    private String schId; //班次

    @ApiModelProperty("订单金额")
    private BigDecimal orderAmount;

    @ApiModelProperty("支付金额")
    private BigDecimal paymentAmount;

    @ApiModelProperty("是否学生票")
    private Boolean isStu;

    @ApiModelProperty("是否老年票")
    private Boolean isOld ;

    @ApiModelProperty("日期")
    private String date;
    @ApiModelProperty("发车时间")
    private Integer departureTime;
    @ApiModelProperty("检票时间")
    private Timestamp chickTime;
    @ApiModelProperty("停止检票时间")
    private Timestamp stopChickTime;

    @ApiModelProperty("出票时间")
    private Timestamp ticketTime ;
    @ApiModelProperty("支付时间")
    private Timestamp paymentTime;
    @ApiModelProperty("订单推送时间")
    private Timestamp orderPutTime;

    @ApiModelProperty("创建时间")
    private Timestamp createTime ;
    @ApiModelProperty("更新时间")
    private Timestamp updateTime ;

}
